<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %>
<%@ taglib uri="oastaglib" prefix="oas"%>
<html>
<head>
    <title>删除子部门</title>
    <link rel="stylesheet" type="text/css" href="<c:url value="/resources/bootstrap/dist/css/bootstrap.min.css" /> ">
    <script type="text/javascript" src="<c:url value="/resources/js/jquery/dist/jquery.min.js"/>"></script>
    <script type="text/javascript" src="<c:url value="/resources/bootstrap/dist/js/bootstrap.min.js"/>"></script>
</head>
<body style="background-color:#eeeeee">
<oas:nav/>
<oas:content>
<div style="background-color:#ffffff;width:90%;margin:0 auto;padding:15px 10px;">
    <br/>
    <a href="<c:url value="/workcells"/>">返回</a><br/>
    
    
    <c:forEach items="${paginationSupport.items }" var="workcell">
    	部门名称:${workcell.name }
    	&nbsp;
    	<a href="<c:url value="/workcells/delete/${workcell.id }"/>">删除</a>
    	<br/>
    </c:forEach>	

    <br/>
    每页${paginationSupport.pageSize}个部门， 第${paginationSupport.currentPageNo}/${paginationSupport.totalPageCount}页,共${paginationSupport.totalCount}个部门
    <br/>
    <c:if test="${paginationSupport.previousPage }">
    	<a href="<c:url value="/workcells/delete?pageNo=${paginationSupport.currentPageNo-1}"/>">上一页</a>
    </c:if>
    
    <c:if test="${paginationSupport.nextPage }">
    	<a href="<c:url value="/workcells/delete?pageNo=${paginationSupport.currentPageNo+1}"/>">下一页</a>
    </c:if>
 </div>
</oas:content>
<oas:footer/>
</body>
</html>
